package com.qf.smartdevice.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.github.pagehelper.PageInfo;
import com.qf.smartdevice.pojo.Devices;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IDevicesService {

    PageInfo<Devices> findAllDevices(int page, int limit, String address, Long areaid, Long categoryid, Long status, Long areasearch);

    int devicesById(int[] ids);

    int insertDevices(Devices devices);

    int updateByIdDevice(Devices devices);

    void sendControl(String uuid, String command) throws JsonProcessingException;
}
